for i in range(1,10):
    for k in range(11,i-11):
        print(end='        ')   #从11开始
    for j in range(i,10):
        print("%d*%d=%-3d"%(j,i,i*j),end=" ")
    print()